package com.ecut.property_project.mapper.bunk;

import com.ecut.property_project.model.bunk.BunkPurpose;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BunkPurposeMapper {
    int deleteByPrimaryKey(Integer purposeId);

    int insert(BunkPurpose record);

    int insertSelective(BunkPurpose record);
    List<BunkPurpose> selectAll();

    List<BunkPurpose> selectByPage(Integer page, Integer pageSize);

    BunkPurpose selectByPrimaryKey(Integer purposeId);

    List<BunkPurpose> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(BunkPurpose record);

    int updateByPrimaryKey(BunkPurpose record);
}